hdc target mount
hdc shell mount -o rw,remount /

hdc shell rm -rf /system/bin/hukssdk_test
hdc shell rm -rf /system/bin/huks_UT_test
hdc shell rm -rf /system/bin/huks_module_test
hdc shell rm -rf /system/bin/huks_multithread_test
hdc shell rm -rf /system/bin/huks_useridm_wrap_test
hdc shell rm -rf /system/bin/crypto_engine_unit_test
hdc shell rm -rf /system/bin/huks_mt_test
hdc shell rm -rf /system/bin/huks_storage_test
hdc shell rm -rf /system/bin/huks_file_transfer_config_parser_test
hdc shell rm -rf /system/bin/huks_mock_test
hdc shell rm -rf /system/bin/service_ipc_test

hdc shell rm -rf /data/hukssdk_test.xml
hdc shell rm -rf /data/huks_UT_test.xml
hdc shell rm -rf /data/huks_module_test.xml
hdc shell rm -rf /data/huks_multithread_test.xml
hdc shell rm -rf /data/huks_useridm_wrap_test.xml
hdc shell rm -rf /data/crypto_engine_unit_test.xml
hdc shell rm -rf /data/huks_mt_test.xml
hdc shell rm -rf /data/huks_storage_test.xml
hdc shell rm -rf /data/huks_file_transfer_config_parser_test.xml
hdc shell rm -rf /data/huks_mock_test.xml
hdc shell rm -rf /data/service_ipc_test.xml

hdc file send out\rk3568\tests\unittest\huks\huks\huks_standard_test\hukssdk_test                       /system/bin/
hdc file send out\rk3568\tests\unittest\huks\huks\huks_UT_test\huks_UT_test                             /system/bin/
hdc file send out\rk3568\tests\unittest\huks\huks\huks_module_test\huks_module_test                     /system/bin/
hdc file send out\rk3568\tests\unittest\huks\huks\huks_standard_test\huks_multithread_test              /system/bin/
hdc file send out\rk3568\tests\unittest\huks\huks\huks_systemapi_wrap\huks_useridm_wrap_test            /system/bin/
hdc file send out\rk3568\tests\unittest\huks\huks\hal_unittest\crypto_engine_unit_test                  /system/bin/
hdc file send out\rk3568\tests\moduletest\huks\huks\huks_standard_test\huks_mt_test                     /system/bin/
hdc file send out\rk3568\tests\unittest\huks\huks\huks_module_test\huks_storage_test                    /system/bin/
hdc file send out\rk3568\tests\unittest\huks\huks\huks_upgrade\huks_file_transfer_config_parser_test    /system/bin/
hdc file send out\rk3568\tests\unittest\huks\huks\mock_test\huks_mock_test                              /system/bin/
hdc file send out\rk3568\tests\unittest\huks\huks\service_ipc_test\service_ipc_test                     /system/bin/

hdc shell chmod 777 /system/bin/hukssdk_test
hdc shell chmod 777 /system/bin/huks_UT_test
hdc shell chmod 777 /system/bin/huks_module_test
hdc shell chmod 777 /system/bin/huks_multithread_test
hdc shell chmod 777 /system/bin/huks_useridm_wrap_test
hdc shell chmod 777 /system/bin/crypto_engine_unit_test
hdc shell chmod 777 /system/bin/huks_mt_test
hdc shell chmod 777 /system/bin/huks_storage_test
hdc shell chmod 777 /system/bin/huks_file_transfer_config_parser_test
hdc shell chmod 777 /system/bin/huks_mock_test
hdc shell chmod 777 /system/bin/service_ipc_test

hdc shell ls -l /system/bin/hukssdk_test
hdc shell ls -l /system/bin/huks_UT_test
hdc shell ls -l /system/bin/huks_module_test
hdc shell ls -l /system/bin/huks_multithread_test
hdc shell ls -l /system/bin/huks_useridm_wrap_test
hdc shell ls -l /system/bin/crypto_engine_unit_test
hdc shell ls -l /system/bin/huks_mt_test
hdc shell ls -l /system/bin/huks_storage_test
hdc shell ls -l /system/bin/huks_file_transfer_config_parser_test
hdc shell ls -l /system/bin/huks_mock_test
hdc shell ls -l /system/bin/service_ipc_test

hdc shell /system/bin/hukssdk_test                          --gtest_output=xml:/data/
hdc shell /system/bin/huks_UT_test                          --gtest_output=xml:/data/
hdc shell /system/bin/huks_module_test                      --gtest_output=xml:/data/
hdc shell /system/bin/huks_multithread_test                 --gtest_output=xml:/data/
hdc shell /system/bin/huks_useridm_wrap_test                --gtest_output=xml:/data/
hdc shell /system/bin/crypto_engine_unit_test               --gtest_output=xml:/data/
hdc shell /system/bin/huks_mt_test                          --gtest_output=xml:/data/
hdc shell /system/bin/huks_storage_test                     --gtest_output=xml:/data/
hdc shell /system/bin/huks_file_transfer_config_parser_test --gtest_output=xml:/data/
hdc shell /system/bin/huks_mock_test                        --gtest_output=xml:/data/
hdc shell /system/bin/service_ipc_test                      --gtest_output=xml:/data/

hdc file recv /data/hukssdk_test.xml
hdc file recv /data/huks_UT_test.xml
hdc file recv /data/huks_module_test.xml
hdc file recv /data/huks_multithread_test.xml
hdc file recv /data/huks_useridm_wrap_test.xml
hdc file recv /data/crypto_engine_unit_test.xml
hdc file recv /data/huks_mt_test.xml
hdc file recv /data/huks_storage_test.xml
hdc file recv /data/huks_file_transfer_config_parser_test.xml
hdc file recv /data/huks_mock_test.xml
hdc file recv /data/service_ipc_test.xml

pause
